package com.sweetsourfish.crm.commons.model;
/**
 * Description: 响应返回结果
 *
 */

public class ResponseResult {
    private int code; 		//状态码
    private String msg; 	//消息
    private Object data; 	//返回数据

    public ResponseResult(){
    }
    public ResponseResult(int code,String msg){
        this.code=code;
        this.msg=msg;
    }
    public ResponseResult(int code,String msg,Object data){
        this.code=code;
        this.msg=msg;
        this.data=data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
